class AccessLog < ApplicationRecord
  validates :user_id, presence: {message: "用户不能为空"}
  belongs_to :user
end
